package _10OberserverDesign;

import java.util.Observable;
import java.util.Observer;

public class Obersevers_Users implements Observer {
    public void update(Observable o, Object arg) {
        Article article=(Article)arg;
        System.out.println("博主博客已经更新！");
        System.out.println("博客主题是： "+article.getArticleTitle());
        System.out.println("博客内容是："+article.getArticleContext());
    }
}
